<template>
	<view>
		<!-- #ifdef MP-WEIXIN -->
		<view class="search">
				<uni-search-bar @confirm="search" readonly  class='searchbar' clearButton="auto" cancelButton="none" :placeholder="keyword"></uni-search-bar>
		<view class="shaixuan">
			筛选
		</view>
		</view>
		<!-- #endif -->
		
		
		<ShopList :keyword='keyword'></ShopList>
		
		
	</view>
</template>

<script>
	import ShopList from '../../components/common/ShopList.vue'
	export default {
		data() {
			return {
				keyword:""
			}
		},
		components:{
			ShopList
		},
		onLoad(e) {
			
			// #ifdef APP-PLUS 
				this.keyword=e.keyword;
			var webView = this.$mp.page.$getAppWebview(); 
			 webView.setTitleNViewSearchInputText(this.keyword) 
			//#endif
			
			
		this.keyword=e.keyword;
		
		
		},
		
		methods: {
			
		}
	}
</script>

<style scoped> 
.search{
	height: 112rpx;
	display: flex;
	justify-content: space-between;
	justify-content: center;
	align-items: center;
}
.shaixuan{

	width: 10%;
	text-align: center;
}.searchbar{
	height: 112rpx;
/* 	line-height: 112rpx; */
	width: 90%;
}
</style>
